﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.Unity;
using PuroGame.Repositories.Interfaces;
using PuroGame.Business;

namespace PuroGame.Services.Service
{
    public class MercadaoService : Interfaces.IMercadaoService
    {
        [Dependency]
        public IMercadaoRepository _mercadaoRepository { get; set; }
        
        public List<mercadao> ListarAnunciosPorData(int top, int pagina)
        {
            return _mercadaoRepository.Paginar(top, pagina);
        }
    }
}
